package command;

/**
 * Created by lenovo on 2018/1/2.
 */
public class SimpleRemoteControl {
    Command solt;
    public SimpleRemoteControl(){

    }

    public void setCommand(Command solt) {
        this.solt = solt;
    }

    public void buttonWasPressed(){
        solt.execute();
    }
}
